const arr = [];
const myresize = (obj) => {
  arr.push(obj);
  window.addEventListener("resize", function () {
    arr.forEach((item) => {
      item.resize();
    });
  });
};
export { myresize };
